<template>
	<div class="container home">
		<div class="header subheader">
			<!-- <Header></Header> -->
		</div>
		<div class="maincontainer wd1200" style="padding-bottom: 100px;">
			<div class="query-container">
				<div class="title-h2">高级查询</div>
				<div class="column-main" style="padding: 24px">
					<div class="query-box">
						<div class="query-title">常用筛选</div>
						<div class="query-list">
							<div class="list">
								<div class="name fl">关键词</div>
								<div class="text overflow" style="width: 380px;">
									<el-input v-model="entname" placeholder="输入关键词，可指定搜索范围，至少2个字">
										<el-button slot="append" icon="el-icon-search" @click="searchclick"></el-button>
									</el-input>
								</div>
							</div>
							<div class="list">
								<div class="name fl">搜索范围</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="ssfwlist" @change="changerange">
										<el-checkbox v-for="(item,index) in ssfwlistdata" :key="index"
											:label="item.type">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list" style="overflow: initial;">
								<div class="name fl">行业分类</div>
								<div class="text" style="width: 380px;overflow: initial; display: inline-block;">
									<!-- <el-popover class="xyelpopover" placement="bottom" width="930" trigger="click"> -->
									<div class="xyelpopover" style="position: relative;" id="hiindustry">
										<el-input @blur="hideindustry" @focus="showindustry" placeholder="行业分类"
											class="pointer" suffix-icon="el-icon-arrow-down" v-model="industry"
											slot="reference">
										</el-input>
										<div class="industrybox" v-show="visible"
											style="position: absolute;left: 0;top: 38px;z-index: 999;background: #fff; box-shadow: 0px -2px 12px 0px rgb(7 28 69 / 25%);">
											<div class="industry">
												<div class="ibox">
													<div class="pointer" v-for="item in industrylist"
														:key="item.industryL1Code"
														@click="industry1(item.industryL1Code,item.industryL1Name)"
														:class="Code1 == item.industryL1Code? 'active' : ''">
														<p v-if="item.industryL1Name != null">{{item.industryL1Name}}
														</p>
													</div>
												</div>
												<div class="ibox" v-show="industrylist2.length > 0">
													<div class="pointer" v-for="item in industrylist2"
														:key="item.industryL2Code"
														@click="industry2(item.industryL2Code,item.industryL2Name)"
														:class="Code2 == item.industryL2Code? 'active' : ''">
														<p v-if="item.industryL2Name != null">{{item.industryL2Name}}
														</p>
													</div>
												</div>
												<div class="ibox" v-show="industrylist3.length > 0">
													<div class="pointer" v-for="item in industrylist3"
														:key="item.industryL3Code"
														@click="industry3(item.industryL3Code,item.industryL3Name)"
														:class="Code3 == item.industryL3Code? 'active' : ''">
														<p v-if="item.industryL3Name != null">{{item.industryL3Name}}
														</p>
													</div>
												</div>
											</div>
											<div class="bottomibox">
												<el-row>
													<el-button size="mini" @click="xyreset">重置</el-button>
													<el-button size="mini" type="primary"
														@click="xyprimary">确定</el-button>
												</el-row>
											</div>
										</div>
										<!-- </el-popover> -->
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="query-box">
						<div class="query-title">工商信息</div>
						<div class="query-list">
							<div class="list">
								<div class="name fl">参保人数</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" @change="cbrschange" v-model="cbrs">
										<el-checkbox v-for="item in cbrsdata" :key="item.type" :label="item.type">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">成立年限</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="clnx" @change="clnxchange">
										<el-checkbox v-for="item in clnxdata" :key="item.type" :label="item.type">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">企业状态</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="arr" @change="changearr">
										<el-checkbox v-for="item in qyztlist" :key="item._id"
											:label="item._id">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">注册资本</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="zczb" @change="zczbchange">
										<el-checkbox v-for="item in zczbdata" :key="item.type" :label="item.type">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">实缴资本</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="sjzb" @change="sjzbchange">
										<el-checkbox v-for="item in zczbdata" :key="item.type" :label="item.type">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">资本类型</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="arr" @change="changearr">
										<el-checkbox v-for="item in zblxlist" :key="item._id"
											:label="item._id">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">企业类型</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="arr" @change="changearr">
										<!-- <el-checkbox label="有限责任公司"></el-checkbox>
									    <el-checkbox label="有限责任公司"></el-checkbox>
									    <el-checkbox label="国有企业"></el-checkbox>
										<el-checkbox label="集体所有制"></el-checkbox>
										<el-checkbox label="全民所有制"></el-checkbox>
										<el-checkbox label="独资企业"></el-checkbox>
										<el-checkbox label="有限合伙"></el-checkbox>
										<el-checkbox label="普通合伙"></el-checkbox>
										<el-checkbox label="私营企业"></el-checkbox>
										<el-checkbox label="222">个体工商户</el-checkbox>
										<el-checkbox label="111">企业</el-checkbox> -->
										<el-checkbox v-for="item in qylxlist" :key="item._id"
											:label="item._id">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
						</div>
					</div>

					<div class="query-box">
						<div class="query-title">经营信息</div>
						<div class="query-list">
							<div class="list">
								<div class="name fl">专利类型</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="arr" @change="changearr">
										<el-checkbox v-for="item in zllxlist" :key="item._id"
											:label="item._id">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">资质证书</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="arr" @change="changearr">
										<el-checkbox v-for="item in zzzslist" :key="item._id"
											:label="item._id">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">科技型企业</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="arr" @change="changearr">
										<el-checkbox v-for="item in kjxqylist" :key="item._id"
											:label="item._id">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
							<div class="list">
								<div class="name fl">知识产权</div>
								<div class="text overflow">
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="sbpopover">
											<span class="pointer" slot="reference">{{sbname|| '商标信息'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="sb('','')" :class="sbid == ''? 'active' : ''">不限</p>
												<p v-for="item in sbxxlist" :key="item._id"
													@click="sb(item.name,item._id)"
													:class="sbid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="sbreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="sbprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="zlpopover">
											<span class="pointer" slot="reference">{{zlname || '专利信息'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="zl('','')" :class="zlid == ''? 'active' : ''">不限</p>
												<p v-for="item in zlxxlist" :key="item._id"
													@click="zl(item.name,item._id)"
													:class="zlid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="zlreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="zlprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="rzpopover">
											<span class="pointer" slot="reference">{{rzname || '软件著作权'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="rz('','')" :class="rzid == ''? 'active' : ''">不限</p>
												<p v-for="item in rzxxlist" :key="item._id"
													@click="rz(item.name,item._id)"
													:class="rzid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="rzreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="rzprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="wzpopover">
											<span class="pointer" slot="reference">{{wzname || '网站备案'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="wz('','')" :class="wzid == ''? 'active' : ''">不限</p>
												<p v-for="item in wzxxlist" :key="item._id"
													@click="wz(item.name,item._id)"
													:class="wzid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="wzreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="wzprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="zppopover">
											<span class="pointer" slot="reference">{{zpname || '作品著作权'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="zp('','')" :class="zpid == ''? 'active' : ''">不限</p>
												<p v-for="item in zpxxlist" :key="item._id"
													@click="zp(item.name,item._id)"
													:class="zpid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="zpreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="zpprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>

								</div>
							</div>

							<div class="list">
								<div class="name fl">更多筛选</div>
								<div class="text overflow">
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="ztbpopover">
											<span class="pointer" slot="reference">{{ztbname || '招投标'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="ztb('','')" :class="ztbid == ''? 'active' : ''">不限</p>
												<p v-for="item in ztblist" :key="item._id"
													@click="ztb(item.name,item._id)"
													:class="ztbid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="ztbreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="ztbprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="fzpopover">
											<span class="pointer" slot="reference">{{fzname || '分支机构'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="fz('','')" :class="fzid == ''? 'active' : ''">不限</p>
												<p v-for="item in fzlist" :key="item._id"
													@click="fz(item.name,item._id)"
													:class="fzid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="fzreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="fzprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="zhppopover">
											<span class="pointer" slot="reference">{{zhpname || '招聘信息'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="zhp('','')" :class="zhpid == ''? 'active' : ''">不限</p>
												<p v-for="item in zhplist" :key="item._id"
													@click="zhp(item.name,item._id)"
													:class="zhpid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="zhpreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="zhpprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>

									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="gdpopover">
											<span class="pointer" slot="reference">{{gdname || '购地信息'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="gd('','')" :class="gdid == ''? 'active' : ''">不限</p>
												<p v-for="item in gdlist" :key="item._id"
													@click="gd(item.name,item._id)"
													:class="gdid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="gdreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="gdprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="bgpopover">
											<span class="pointer" slot="reference">{{bgname || '变更信息'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="bg('','')" :class="bgid == ''? 'active' : ''">不限</p>
												<p v-for="item in bglist" :key="item._id"
													@click="bg(item.name,item._id)"
													:class="bgid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="bgreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="bgprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="ddzpopover">
											<span class="pointer" slot="reference">{{ddzname || '多地址'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="ddz('','')" :class="ddzid == ''? 'active' : ''">不限</p>
												<p v-for="item in ddzlist" :key="item._id"
													@click="ddz(item.name,item._id)"
													:class="ddzid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="ddzreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="ddzprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="dzdpopover">
											<span class="pointer" slot="reference">{{dzdname || "一照多址" }}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="dzd('','')" :class="dzdid == ''? 'active' : ''">不限</p>
												<p v-for="item in dzdlist" :key="item._id"
													@click="dzd(item.name,item._id)"
													:class="dzdid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="dzdreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="dzdprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div v-for="item in tempTreeList" v-if="item.name == '更多筛选'"
										style="display: inline-block;">
										<div class="textbox" v-for="tag in item.children" v-if="tag.name == '地址变更'">
											<el-popover placement="bottom" trigger="click" v-model="dzbgpopover">
												<span class="pointer" slot="reference">{{dzbgname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="dzbg('','')" :class="dzbgid == ''? 'active' : ''">不限</p>
													<p v-for="(tags,index) in tag.children" :key="index"
														v-if="tags.name != '不限'" @click="dzbg(tags.name,tags._id)"
														:class="dzbgid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="dzbgreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="dzbgprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
									</div>
									<div v-for="item in tempTreeList" v-if="item.name == '更多筛选'"
										style="display: inline-block;">
										<div class="textbox" v-for="tag in item.children" :key="tag._id"
											v-if="tag.name == '小微企业'">
											<el-popover placement="bottom" trigger="click" v-model="xwpopover">
												<span class="pointer" slot="reference">{{xwname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="xw('','')" :class="xwid == ''? 'active' : ''">不限</p>
													<p v-for="tags in tag.children" :key="tags._id"
														v-if="tags.name != '不限'" @click="xw(tags.name,tags._id)"
														:class="xwid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="xwreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="xwprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>

					<div class="query-box">
						<div class="query-title">融资上市</div>
						<div class="query-list">

							<div class="list">
								<div class="name fl">融资信息</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="arr" @change="changearr">

										<el-checkbox v-for="item in rzixxlist" :key="item._id"
											:label="item._id">{{item.name}}</el-checkbox>
									</el-checkbox-group>
								</div>
							</div>
						</div>
					</div>


					<div class="query-box">
						<div class="query-title">风险信息</div>
						<div class="query-list">
							<div class="list">
								<div class="name fl">风险信息</div>
								<div class="text overflow">
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="sxpopover">
											<span class="pointer" slot="reference">{{sxname || '失信被执行人'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<div class="bigbox" style="display: flex;">
													<div class="box">
														<p @click="sx('','')" :class="sxid == ''? 'active' : ''">不限</p>
														<p v-for="item in sxlist" :key="item._id"
															@click="sx(item.name,item._id)"
															:class="sxid == item._id? 'active' : ''">{{item.name}}</p>
													</div>
													<div class="box" v-show="sxhave">
														<p @click="hasx('','')" :class="hasxid == ''? 'active' : ''">不限
														</p>
														<div v-for="item in tempTreeList" v-if="item.name == '风险信息'"
															style="display: inline-block;">
															<div class="textbox" v-for="tag in item.children"
																:key="tag._id" v-if="tag.name == '失信被执行人'">
																<div v-for="tags in tag.children" :key="tags._id"
																	v-if="tags.name == '有失信被执行人'">
																	<p v-for="items in tags.children" :key="items._id"
																		v-if="items.name != '不限'"
																		@click="hasx(items.name,items._id)"
																		:class="hasxid == items._id? 'active' : ''">
																		{{items.name}}
																	</p>
																</div>
															</div>
														</div>

													</div>
												</div>

												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="sxreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="sxprimary">确定</el-button>
													</el-row>
												</div>
											</div>

										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="cppopover">
											<span class="pointer" slot="reference">{{cpname || '裁判文书'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="cp('','')" :class="cpid == ''? 'active' : ''">不限</p>
												<p v-for="item in cplist" :key="item._id"
													@click="cp(item.name,item._id)"
													:class="cpid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="cpreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="cpprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="ktpopover">
											<span class="pointer" slot="reference">{{ktname || '开庭公告'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="kt('','')" :class="ktid == ''? 'active' : ''">不限</p>
												<p v-for="item in ktlist" :key="item._id"
													@click="kt(item.name,item._id)"
													:class="ktid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="ktreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="ktprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="fypopover">
											<span class="pointer" slot="reference">{{fyname || '法院公告'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<p @click="fy('','')" :class="fyid == ''? 'active' : ''">不限</p>
												<p v-for="item in fylist" :key="item._id"
													@click="fy(item.name,item._id)"
													:class="fyid == item._id? 'active' : ''">{{item.name}}</p>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="fyreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="fyprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="xzpopover">
											<span class="pointer" slot="reference">{{xzname || '行政处罚'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">
												<div class="bigbox" style="display: flex;">
													<div class="box">
														<p @click="xz('','')" :class="xzid == ''? 'active' : ''">不限</p>
														<p v-for="item in xzlist" :key="item._id"
															@click="xz(item.name,item._id)"
															:class="xzid == item._id? 'active' : ''">{{item.name}}</p>
													</div>
													<div class="box" v-show="xzhave">
														<p @click="haxz('','')" :class="haxzid == ''? 'active' : ''">不限
														</p>
														<div v-for="item in tempTreeList" v-if="item.name == '风险信息'"
															style="display: inline-block;">
															<div class="textbox" v-for="tag in item.children"
																:key="tag._id" v-if="tag.name == '行政处罚'">
																<div v-for="tags in tag.children" :key="tags._id"
																	v-if="tags.name == '有行政处罚'">
																	<p v-for="items in tags.children" :key="items._id"
																		v-if="items.name != '不限'"
																		@click="haxz(items.name,items._id)"
																		:class="haxzid == items._id? 'active' : ''">
																		{{items.name}}
																	</p>
																</div>
															</div>
														</div>

													</div>
												</div>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="xzreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="xzprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div v-for="item in tempTreeList" v-if="item.name == '风险信息'"
										style="display: inline-block;">
										<div class="textbox" v-for="tag in item.children" :key="tag._id"
											v-if="tag.name == '动产抵押'">
											<el-popover placement="bottom" trigger="click" v-model="dcpopover">
												<span class="pointer" slot="reference">{{dcname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="dc('','')" :class="dcid == ''? 'active' : ''">不限</p>
													<p v-for="tags in tag.children" :key="tags._id"
														v-if="tags.name != '不限'" @click="dc(tags.name,tags._id)"
														:class="dcid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="dcreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="dcprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="jypopover">
											<span class="pointer" slot="reference">{{jyname || '经营异常'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">

												<div class="bigbox" style="display: flex;">
													<div class="box">
														<p @click="jy('','')" :class="jyid == ''? 'active' : ''">不限</p>
														<p v-for="item in jylist" :key="item._id"
															@click="jy(item.name,item._id)"
															:class="jyid == item._id? 'active' : ''">{{item.name}}</p>
													</div>
													<div class="box" v-show="jyhave">
														<p @click="hajy('','')" :class="hajyid == ''? 'active' : ''">不限
														</p>
														<div v-for="item in tempTreeList" v-if="item.name == '风险信息'"
															style="display: inline-block;">
															<div class="textbox" v-for="tag in item.children"
																:key="tag._id" v-if="tag.name == '经营异常'">
																<div v-for="tags in tag.children" :key="tags._id"
																	v-if="tags.name == '有经营异常'">
																	<p v-for="items in tags.children" :key="items._id"
																		v-if="items.name != '不限'"
																		@click="hajy(items.name,items._id)"
																		:class="hajyid == items._id? 'active' : ''">
																		{{items.name}}
																	</p>
																</div>
															</div>
														</div>

													</div>
												</div>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="jyreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="jyprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>
									<div class="textbox">
										<el-popover placement="bottom" trigger="click" v-model="bjpopover">
											<span class="pointer" slot="reference">{{bjname || '被执行人'}}<i
													class="el-icon-caret-bottom"></i></span>
											<div class="sblist commonlist">

												<div class="bigbox" style="display: flex;">
													<div class="box">
														<p @click="bj('','')" :class="bjid == ''? 'active' : ''">不限</p>
														<p v-for="item in bjlist" :key="item._id"
															@click="bj(item.name,item._id)"
															:class="bjid == item._id? 'active' : ''">{{item.name}}</p>
													</div>
													<div class="box" v-show="bjhave">
														<p @click="habj('','')" :class="habjid == ''? 'active' : ''">不限
														</p>
														<div v-for="item in tempTreeList" v-if="item.name == '风险信息'"
															style="display: inline-block;">
															<div class="textbox" v-for="tag in item.children"
																:key="tag._id" v-if="tag.name == '被执行人'">
																<div v-for="tags in tag.children" :key="tags._id"
																	v-if="tags.name == '有被执行人'">
																	<p v-for="items in tags.children" :key="items._id"
																		v-if="items.name != '不限'"
																		@click="habj(items.name,items._id)"
																		:class="habjid == items._id? 'active' : ''">
																		{{items.name}}
																	</p>
																</div>
															</div>
														</div>

													</div>
												</div>
												<div class="bottomibox">
													<el-row>
														<el-button size="mini" @click="bjreset">重置</el-button>
														<el-button size="mini" type="primary"
															@click="bjprimary">确定</el-button>
													</el-row>
												</div>
											</div>
										</el-popover>
									</div>

									<div v-for="item in tempTreeList" v-if="item.name == '风险信息'"
										style="display: inline-block;">
										<div class="textbox" v-for="tag in item.children" :key="tag._id"
											v-if="tag.name == '限制高消费'">
											<el-popover placement="bottom" trigger="click" v-model="xgpopover">
												<span class="pointer" slot="reference">{{xgname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">

													<div class="bigbox" style="display: flex;">
														<div class="box">
															<p @click="xg('','')" :class="xgid == ''? 'active' : ''">不限
															</p>
															<p v-for="tags in tag.children" :key="tags._id"
																v-if="tags.name != '不限'" @click="xg(tags.name,tags._id)"
																:class="xgid == tags._id? 'active' : ''">{{tags.name}}
															</p>
														</div>
														<div class="box" v-show="xghave">
															<p @click="haxg('','')"
																:class="haxgid == ''? 'active' : ''">不限</p>
															<div v-for="item in tempTreeList" v-if="item.name == '风险信息'"
																style="display: inline-block;">
																<div class="textbox" v-for="tag in item.children"
																	:key="tag._id" v-if="tag.name == '限制高消费'">
																	<div v-for="tags in tag.children" :key="tags._id"
																		v-if="tags.name == '有限制高消费'">
																		<p v-for="items in tags.children"
																			:key="items._id" v-if="items.name != '不限'"
																			@click="haxg(items.name,items._id)"
																			:class="haxgid == items._id? 'active' : ''">
																			{{items.name}}
																		</p>
																	</div>
																</div>
															</div>

														</div>
													</div>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="xgreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="xgprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!-- <div class="query-box">
						<div class="query-title">经营信息</div>
						<div class="query-list">
							<div class="list">
								<div class="name fl">上市数据</div>
								<div class="text overflow">
									<el-checkbox-group size="medium" v-model="range">
									    <el-checkbox label="A股"></el-checkbox>
									    <el-checkbox label="新三板"></el-checkbox>				
									</el-checkbox-group>
								</div>
							</div>
						</div>
					</div> -->
					<div class="query-box">
						<div class="query-title">联系方式</div>
						<div class="query-list">

							<div class="list">
								<div class="name fl">联系方式</div>
								<div class="text overflow">
									<div v-for="(item,index) in tempTreeList" :key="item._id"
										v-if="item.name == '联系方式'">
										<div class="textbox" v-for="(tag,tagindex) in item.children" :key="tag._id"
											v-if="tag.name == '联系电话'">
											<el-popover placement="bottom" trigger="click" v-model="lxdhpopover">
												<span class="pointer" slot="reference">{{lxdhname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="lxdh('','')" :class="lxdhid == ''? 'active' : ''">不限</p>
													<p v-for="(tags,tagsindex) in tag.children" :key="tags._id"
														v-if="tags.name != '不限'" @click="lxdh(tags.name,tags._id)"
														:class="lxdhid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="lxdhreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="lxdhprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
										<div class="textbox" v-for="(tag,tagindex) in item.children" :key="tag._id"
											v-if="tag.name == '手机号码'">
											<el-popover placement="bottom" trigger="click" v-model="sjpopover">
												<span class="pointer" slot="reference">{{sjname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="sj('','')" :class="sjid == ''? 'active' : ''">不限</p>
													<p v-for="(tags,tagsindex) in tag.children" :key="tags._id"
														v-if="tags.name != '不限'" @click="sj(tags.name,tags._id)"
														:class="sjid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="sjreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="sjprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
										<div class="textbox" v-for="(tag,tagindex) in item.children" :key="tag._id"
											v-if="tag.name == '固定电话'">
											<el-popover placement="bottom" trigger="click" v-model="gddhpopover">
												<span class="pointer" slot="reference">{{gddhname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="gddh('','')" :class="gddhid == ''? 'active' : ''">不限</p>
													<p v-for="(tags,tagsindex) in tag.children" :key="tags._id"
														v-if="tags.name != '不限'" @click="gddh(tags.name,tags._id)"
														:class="gddhid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="gddhreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="gddhprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
										<div class="textbox" v-for="(tag,tagindex) in item.children" :key="tag._id"
											v-if="tag.name == '官网电话'">
											<el-popover placement="bottom" trigger="click" v-model="gwdhpopover">
												<span class="pointer" slot="reference">{{gwdhname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="gwdh('','')" :class="gwdhid == ''? 'active' : ''">不限</p>
													<p v-for="(tags,tagsindex) in tag.children" :key="tags._id"
														v-if="tags.name != '不限'" @click="gwdh(tags.name,tags._id)"
														:class="gwdhid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="gwdhreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="gwdhprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
										<div class="textbox" v-for="(tag,tagindex) in item.children" :key="tag._id"
											v-if="tag.name == '高质量电话'">
											<el-popover placement="bottom" trigger="click" v-model="gzlpopover">
												<span class="pointer" slot="reference">{{gzlname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="gzl('','')" :class="gzlid == ''? 'active' : ''">不限</p>
													<p v-for="(tags,tagsindex) in tag.children" :key="tags._id"
														v-if="tags.name != '不限'" @click="gzl(tags.name,tags._id)"
														:class="gzlid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="gzlreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="gzlprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
										<div class="textbox" v-for="(tag,tagindex) in item.children" :key="tag._id"
											v-if="tag.name == '联系邮箱'">
											<el-popover placement="bottom" trigger="click" v-model="lxyxpopover">
												<span class="pointer" slot="reference">{{lxyxname || tag.name}}<i
														class="el-icon-caret-bottom"></i></span>
												<div class="sblist commonlist">
													<p @click="lxyx('','')" :class="lxyxid == ''? 'active' : ''">不限</p>
													<p v-for="(tags,tagsindex) in tag.children" :key="tags._id"
														v-if="tags.name != '不限'" @click="lxyx(tags.name,tags._id)"
														:class="lxyxid == tags._id? 'active' : ''">{{tags.name}}</p>
													<div class="bottomibox">
														<el-row>
															<el-button size="mini" @click="lxyxreset">重置</el-button>
															<el-button size="mini" type="primary"
																@click="lxyxprimary">确定</el-button>
														</el-row>
													</div>
												</div>
											</el-popover>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!-- <div v-for="item in tempTreeList" :key="item._id" v-if="item.name == '联系方式'">{{item.name}} {{item.parentId}}</div> -->
				</div>
			</div>
		</div>
		<div class="resultcontainer">
			<div class="wd1200" v-loading="loading">
				为你找到 <span class="number">{{total}}</span> 家符合条件的企业
				<div class="fr">
					<!-- <el-button>重置</el-button> -->
					<el-button type="primary" @click="seeresult">查看结果</el-button>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
	import {
		sdqygjssv1api,
		industryapi,
		industryapi2,
		industryapi3,
		qylxdictapi
	} from "@/api/enterprise/index";
	import Header from "@/components/header";
	import Footer from "@/components/footer";
	export default {
		components: {
			Header,
			Footer
		},
		data() {
			return {
				entname: '',
				range: [],
				street: '',
				cbrs: [],
				cbrslist: '',
				total: 0,
				industry: '',
				industrylist: [],
				industrylist2: [],
				industrylist3: [],
				Code1: '',
				Code2: '',
				Code3: '',
				industry_one: "",
				industry_two: "",
				industry_three: "",
				visible: false,
				clnx: [],
				clnxlist: '',
				zczb: [],
				zczblist: '',
				sjzb: [],
				sjzblist: '',
				arr: [],
				qylxdictlist: [],
				qyztlist: [],
				zblxlist: [],
				qylxlist: [],
				zllxlist: [],
				zzzslist: [],
				kjxqylist: [],
				sbpopover: false,
				zlpopover: false,
				rzpopover: false,
				wzpopover: false,
				zppopover: false,
				sbxxlist: [],
				sbid: '',
				zlxxlist: [],
				zlid: '',
				rzxxlist: [],
				rzid: '',
				wzxxlist: [],
				wzid: '',
				zpxxlist: [],
				zpid: '',
				ztbpopover: false,
				ztblist: [],
				ztbid: '',
				zhppopover: false,
				zhplist: [],
				zhpid: '',
				fzpopover: false,
				fzlist: [],
				fzid: '',
				gdpopover: false,
				gdlist: [],
				gdid: '',
				bgpopover: false,
				bglist: [],
				bgid: '',
				sxpopover: false,
				sxlist: [],
				sxid: '',
				cppopover: false,
				cplist: [],
				cpid: '',
				ktpopover: false,
				ktlist: [],
				ktid: '',
				fypopover: false,
				fylist: [],
				fyid: '',
				xzpopover: false,
				xzlist: [],
				xzid: '',
				jypopover: false,
				jylist: [],
				jyid: '',
				bjpopover: false,
				bjlist: [],
				bjid: '',
				ddzpopover: false,
				ddzlist: [],
				ddzid: '',
				dzdpopover: false,
				dzdlist: [],
				dzdid: '',
				rzixxlist: [],
				fwlist: [],
				tempTreeList: [],
				dzbgid: '',
				dzbgpopover: false,
				sbname: '',
				zlname: '',
				rzname: '',
				wzname: '',
				zpname: '',
				ztbname: '',
				fzname: '',
				zhpname: '',
				gdname: '',
				bgname: '',
				ddzname: '',
				dzdname: '',
				sxname: '',
				cpname: '',
				ktname: '',
				fyname: '',
				xzname: '',
				jyname: '',
				bjname: '',
				dzbgname: '',
				xwpopover: false,
				xwname: '',
				xwid: '',
				dcpopover: false,
				dcname: '',
				dcid: '',
				xgpopover: false,
				xgname: '',
				xgid: '',
				lxdhpopover: false,
				lxdhname: '',
				lxdhid: '',
				sjpopover: false,
				sjname: '',
				sjid: '',
				gddhpopover: false,
				gddhname: '',
				gddhid: '',
				gwdhpopover: false,
				gwdhname: '',
				gwdhid: '',
				gzlpopover: false,
				gzlname: '',
				gzlid: '',
				lxyxpopover: false,
				lxyxname: '',
				lxyxid: '',
				ssfwlist: [],
				sxhave: false,
				hasxid: '',
				xzhave: false,
				haxzid: '',
				jyhave: false,
				hajyid: '',
				bjhave: false,
				habjid: '',
				xghave: false,
				haxgid: '',
				loading: true,
				hidtype: 0,
				ssfwlistdata: [{
						name: "企业名",
						type: "ent_name",
					},
					{
						name: "法人/股东",
						type: "name",
					},
					{
						name: "地址",
						type: "dzmc",
					},
					{
						name: "经营范围",
						type: "opscope",
					},
					{
						name: "招聘",
						type: "zpmc",
					},
					{
						name: "商标",
						type: "sbmc",
					},
					{
						name: "专利",
						type: "zlmc",
					},
					{
						name: "网站",
						type: "wzmc",
					},
				],
				cbrsdata:[{
						name: "0人",
						type: "1",
					},
					{
						name: "1-4人",
						type: "2",
					},
					{
						name: "5-9人",
						type: "3",
					},
					{
						name: "10-19人",
						type: "4",
					},
					{
						name: "20-99人",
						type: "5",
					},
					{
						name: "100-499人",
						type: "6",
					},
					{
						name: "500-999人",
						type: "7",
					},
					{
						name: "1000-4999人",
						type: "8",
					},
					{
						name: "5000-9999人",
						type: "9",
					},
					{
						name: "10000人以上",
						type: "10",
					},
				],
				clnxdata:[{
						name: "3月内",
						type: "1",
					},
					{
						name: "半年内",
						type: "2",
					},
					{
						name: "1年内",
						type: "3",
					},
					{
						name: "1-3年",
						type: "4",
					},
					{
						name: "3-5年",
						type: "5",
					},
					{
						name: "5-10年",
						type: "6",
					},
					{
						name: "10年以上",
						type: "7",
					},
				],
				zczbdata:[{
						name: "100万以下",
						type: "1",
					},
					{
						name: "100-200万",
						type: "2",
					},
					{
						name: "200-500万",
						type: "3",
					},
					{
						name: "500-1000万",
						type: "4",
					},
					{
						name: "1000万以上",
						type: "5",
					},
				],
			};
		},
		mounted() {
			console.log('ssfwlist', this.ssfwlist)
			this.listParamsdata = JSON.parse(sessionStorage.getItem("listParams"));
			if (this.listParamsdata != null) {
				if (JSON.parse(sessionStorage.getItem("ssfwlist")) != null) {
					this.ssfwlist = JSON.parse(sessionStorage.getItem("ssfwlist"))
					if (this.ssfwlist != null) {
						
						if (this.ssfwlist.length > 0) {
							let ssfwlistname = JSON.parse(sessionStorage.getItem("ssfwlistname"));
							this.ssfwlistname = ssfwlistname.join('，')
							if (this.listParamsdata.name != undefined) {
								this.entname = this.listParamsdata.name
							}
							if (this.listParamsdata.dzmc != undefined) {
								this.entname = this.listParamsdata.dzmc
							}
							if (this.listParamsdata.opscope != undefined) {
								this.entname = this.listParamsdata.opscope
							}
							if (this.listParamsdata.zpmc != undefined) {
								this.entname = this.listParamsdata.zpmc
							}
							if (this.listParamsdata.sbmc != undefined) {
								this.entname = this.listParamsdata.sbmc
							}
							if (this.listParamsdata.zlmc != undefined) {
								this.entname = this.listParamsdata.zlmc
							}
							if (this.listParamsdata.wzmc != undefined) {
								this.entname = this.listParamsdata.wzmc
							}
							if (this.listParamsdata.ent_name != '') {
								this.entname = this.listParamsdata.ent_name
							}
					
						} else {
							this.entname = this.listParamsdata.ent_name
						}
					}
				}
				if (this.listParamsdata.cbrs != '') {
					this.cbrs = this.listParamsdata.cbrs.split(",")
				}
				if (this.listParamsdata.clnx != '') {
					this.clnx = this.listParamsdata.clnx.split(",")
				}
				if (this.listParamsdata.zczb != '') {
					this.zczb = this.listParamsdata.zczb.split(",")
				}
				if (this.listParamsdata.sjzb != '') {
					this.sjzb = this.listParamsdata.sjzb.split(",")
				}
				this.arr = this.listParamsdata.tagId
				this.industry_one = this.listParamsdata.industry_one
				this.industry_two = this.listParamsdata.industry_two
				this.industry_three = this.listParamsdata.industry_three
				// this.entname = this.listParamsdata.ent_name
				this.cbrslist = this.listParamsdata.cbrs
				this.clnxlist = this.listParamsdata.clnx
				this.zczblist = this.listParamsdata.zczb
				this.sjzblist = this.listParamsdata.sjzb
				if (this.industry_three != '') {
					this.industry = this.industry_one + '/' + this.industry_two + '/' + this.industry_three
					this.Code1 = this.listParamsdata.Code1
					this.industryinit2()
					this.Code2 = this.listParamsdata.Code2
					this.industryinit3()
					this.Code3 = this.listParamsdata.Code3

				} else if (this.industry_two != '') {
					this.industry = this.industry_one + '/' + this.industry_two
					this.Code1 = this.listParamsdata.Code1
					this.industryinit2()
					this.Code2 = this.listParamsdata.Code2
					this.industryinit3()
					this.Code3 = this.listParamsdata.Code3
				} else if (this.industry_one != '') {
					this.industry = this.industry_one
					this.Code1 = this.listParamsdata.Code1
					this.industryinit2()
					this.Code2 = this.listParamsdata.Code2
				}
			}
			this.industryinit()
			this.init()
			this.totalinit()
			this.qylxdictinit()
		},
		methods: {
			showindustry() {
				this.visible = true
			},
			hideindustry() {

				document.addEventListener("click", e => {
					var box = document.getElementById("hiindustry");
					if (!box.contains(e.target)) {
						this.visible = false
						if (this.hidtype == 0) {
							this.Code1 = ''
							this.industry_one = ''
							this.Code2 = ''
							this.industry_two = ''
							this.industrylist2 = ''
							this.industrylist3 = ''
							this.industry = ''
							this.Code3 = ''
							this.industry_three = ''
						}

					}
				})
			},
			searchclick() {
				this.init()
				this.totalinit()
			},
			changearr(value) {
				var qyztnameArr = []
				var zblxnameArr = []
				var qylxnameArr = []
				var zllxnameArr = []
				var zzzsnameArr = []
				value.forEach(element => {
					let obj = this.qyztlist.find((item) => {
						return item._id === element;
					});
					if (obj) {
						qyztnameArr.push(obj.name);
					}
					let zblxobj = this.zblxlist.find((item) => {
						return item._id === element;
					});
					if (zblxobj) {
						zblxnameArr.push(zblxobj.name);
					}
					let qylxobj = this.qylxlist.find((item) => {
						return item._id === element;
					});
					if (qylxobj) {
						qylxnameArr.push(qylxobj.name);
					}
					let zllxobj = this.zllxlist.find((item) => {
						return item._id === element;
					});
					if (zllxobj) {
						zllxnameArr.push(zllxobj.name);
					}
					let zzzsobj = this.zzzslist.find((item) => {
						return item._id === element;
					});
					if (zzzsobj) {
						zzzsnameArr.push(zzzsobj.name);
					}
				});
				this.qyztname = qyztnameArr.join('，');
				sessionStorage.setItem('qyztname', JSON.stringify(this.qyztname))
				this.zblxname = zblxnameArr.join('，');
				sessionStorage.setItem('zblxname', JSON.stringify(this.zblxname))
				this.qylxname = qylxnameArr.join('，');
				sessionStorage.setItem('qylxname', JSON.stringify(this.qylxname))
				this.zllxname = zllxnameArr.join('，');
				sessionStorage.setItem('zllxname', JSON.stringify(this.zllxname))
				this.zzzsname = zzzsnameArr.join('，');
				sessionStorage.setItem('zzzsname', JSON.stringify(this.zzzsname))
				this.arr = value
				this.init()
				this.totalinit()
				
			},
			changerange(value) {
				var nameArr = [];
				value.forEach(element => {
					let obj = this.ssfwlistdata.find((item) => {
						return item.type === element;
					});
					if (obj) {
						nameArr.push(obj.name);

					}
				});
				this.ssfwlistname = nameArr;
				sessionStorage.setItem('ssfwlistname', JSON.stringify(this.ssfwlistname))
				this.ssfwlist = value
				this.init()
				this.totalinit()
			},
			qylxdictinit() {
				let queryParams = {
					data: {
						configCode: "company_base_tag_search,company_base_tag_search_gsxx_cbrs,company_base_tag_search_gsxx_clnx,company_base_tag_search_gsxx_qyzd,company_base_tag_search_gsxx_zczb,company_base_tag_search_gsxx_sjzb,company_base_tag_search_gsxx_zblx,company_base_tag_search_gsxx_qylx,company_base_tag_search_gsxx_zjjg,company_base_tag_search_lxfs_ysdjz,company_base_tag_search_lxfs_lxdh,company_base_tag_search_lxfs_sjhm,company_base_tag_search_lxfs_gddh,company_base_tag_search_lxfs_gwdh,company_base_tag_search_lxfs_gzldh,company_base_tag_search_lxfs_lxyx,company_base_tag_search_fxxx_sxbzxr,company_base_tag_search_fxxx_cpws,company_base_tag_search_fxxx_ktgg,company_base_tag_search_fxxx_fygg,company_base_tag_search_fxxx_xzcf,company_base_tag_search_fxxx_dcdy,company_base_tag_search_fxxx_jyyc,company_base_tag_search_fxxx_bzxr,company_base_tag_search_fxxx_xzgxf,company_base_tag_search_jyxx_zllx,company_base_tag_search_jyxx_zzzs,company_base_tag_search_jyxx_kjxqy,company_base_tag_search_jyxx_zscq,company_base_tag_search_jyxx_gdsx,company_base_tag_search_rzss_rzxx"
					},
					formData: true,
					pageNumber: 1,
					pageSize: 1000,
					searchParams: {}
				}
				qylxdictapi(queryParams).then(res => {
					this.qylxdictlist = res.data.content
					res.data.content.forEach(item => {
						if (item.parentId == '659e0ffe98b5acfcbc4209a7') {
							this.qyztlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209bd') {
							this.zblxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209c1') {
							this.qylxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a03') {
							this.zllxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a04') {
							this.zzzslist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a05') {
							this.kjxqylist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a25') {
							this.sbxxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a26') {
							this.zlxxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a27') {
							this.rzxxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a28') {
							this.wzxxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a5e') {
							this.zpxxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a31') {
							this.ztblist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a32') {
							this.zhplist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a33') {
							this.fzlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a34') {
							this.gdlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a35') {
							this.bglist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209e7') {
							this.sxlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209ea') {
							this.cplist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209ed') {
							this.ktlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209f0') {
							this.fylist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209f3') {
							this.xzlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209f5') {
							this.jylist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc4209f6') {
							this.bjlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a55') {
							this.ddzlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a56') {
							this.dzdlist.push(item)
						} else if (item.parentId == '659e0ffe98b5acfcbc420a41') {
							this.rzixxlist.push(item)
						}
					})
					let tagsList = res.data.content;
					let treeList = this.toTree(tagsList);
					let tempTreeList = [];
					console.log('treeList', treeList)
					treeList.forEach(item => {
						if (item.name == '失信被执行人') {
							this.fwlist.push(item)
						}
					})
					console.log('this.fwlist', this.fwlist)
					let lxName = {
						id: "costomLxId",
						name: "联系方式",
						list: {
							疑似代记账: "company_base_tag_search_lxfs_ysdjz",
							联系电话: "company_base_tag_search_lxfs_lxdh",
							手机号码: "company_base_tag_search_lxfs_sjhm",
							固定电话: "company_base_tag_search_lxfs_gddh",
							官网电话: "company_base_tag_search_lxfs_gwdh",
							高质量电话: "company_base_tag_search_lxfs_gzldh",
							联系邮箱: "company_base_tag_search_lxfs_lxyx",
						},
					};
					let fxName = {
						id: "costomFxId",
						name: "风险信息",
						list: {
							失信被执行人: "company_base_tag_search_fxxx_sxbzxr",
							裁判文书: "company_base_tag_search_fxxx_cpws",
							开庭公告: "company_base_tag_search_fxxx_ktgg",
							法院公告: "company_base_tag_search_fxxx_fygg",
							行政处罚: "company_base_tag_search_fxxx_xzcf",
							动产抵押: "company_base_tag_search_fxxx_dcdy",
							经营异常: "company_base_tag_search_fxxx_jyyc",
							被执行人: "company_base_tag_search_fxxx_bzxr",
							限制高消费: "company_base_tag_search_fxxx_xzgxf",
						},
					};
					let gsName = {
						name: "工商信息",
						list: {
							参保人数: "company_base_tag_search_gsxx_cbrs",
							成立年限: "company_base_tag_search_gsxx_clnx",
							企业状态: "company_base_tag_search_gsxx_qyzd",
							注册资金: "company_base_tag_search_gsxx_zczb",
							实缴资本: "company_base_tag_search_gsxx_sjzb",
							资本类型: "company_base_tag_search_gsxx_zblx",
							企业类型: "company_base_tag_search_gsxx_qylx",
							组织机构: "company_base_tag_search_gsxx_zjjg",
						},
					};
					let jyName = {
						name: "经营信息",
						list: {
							专利类型: "company_base_tag_search_jyxx_zllx",
							资质证书: "company_base_tag_search_jyxx_zzzs",
							科技型企业: "company_base_tag_search_jyxx_kjxqy",
							知识产权: "company_base_tag_search_jyxx_zscq",
							更多筛选: "company_base_tag_search_jyxx_gdsx",
						},
					};
					let rzName = {
						name: "融资信息",
						list: {
							融资信息: "company_base_tag_search_rzss_rzxx",
						},
					};
					treeList.forEach((v) => {
						[lxName, fxName, gsName, jyName, rzName].forEach((j) => {
							if (Object.keys(j.list).indexOf(v.name) != -1) {
								this.deep(v.children, j.list[v.name]);
							}
						});
					});
					treeList.forEach((v) => {
						if (
							Object.keys(fxName.list).indexOf(v.name) == -1 &&
							Object.keys(lxName.list).indexOf(v.name) == -1
						) {
							tempTreeList.push(v);

						} else {
							this.pushCostomData(v, fxName, tempTreeList);
							this.pushCostomData(v, lxName, tempTreeList);
						}

					});
					tempTreeList.forEach((v) => {
						//获取最深层级
						v.deepNum = this.getDepth(v);
						if (v.deepNum > 2) {
							v.children.forEach((k) => {
								k.deepNum = this.getDepth(k);
								if (k.children && k.children.length) {
									k.children.unshift({
										name: "不限",
										_id: "",
									});
									if (k.deepNum == 3) {
										k.children.forEach((j) => {
											j.children = [{
												name: "不限",
												_id: "",
											}, ].concat(j.children || []);
										});
									}
								}
							});
						}
					});
					this.tempTreeList = tempTreeList
					console.log('tempTreeList', tempTreeList)
				});
			},
			pushCostomData(v, obj, tempTreeList) {
				let fxIndex = tempTreeList.findIndex((j) => j.name == obj.name);
				if (fxIndex == -1) {
					tempTreeList.push({
						name: obj.name,
						_id: obj.id,
						children: [],
					});
				} else {
					if (Object.keys(obj.list).indexOf(v.name) != -1) {
						tempTreeList[fxIndex].children.push(v);
					}
				}
			},
			deep(list, key) {
				for (let i = 0; i < list.length; i++) {
					const element = list[i];
					element._id = key + "_" + element._id;
					if (element.children && element.children.length > 0) {
						this.deep(element.children, key);
					}
				}
			},
			getDepth(obj) {
				if (obj.children === undefined || obj.children.length === 0) {
					return 1;
				}
				let maxDepth = 0;
				for (let i = 0; i < obj.children.length; i++) {
					const childDepth = this.getDepth(obj.children[i]);
					maxDepth = Math.max(maxDepth, childDepth);
				}
				return maxDepth + 1;
			},
			toTree(data) {
				// 删除 所有 children,以防止多次调用
				data.forEach(function(item) {
					delete item.children;
				});

				// 将数据存储为 以 id 为 KEY 的 map 索引数据列
				var map = {};
				data.forEach(function(item) {
					map[item._id] = item;
				});
				var val = [];
				data.forEach(function(item) {
					// 以当前遍历项，的pid,去map对象中找到索引的id
					var parent = map[item.parentId];
					// 好绕啊，如果找到索引，那么说明此项不在顶级当中,那么需要把此项添加到，他对应的父级中
					if (parent) {
						(parent.children || (parent.children = [])).push(item);
					} else {
						//如果没有在map中找到对应的索引ID,那么直接把 当前的item添加到 val结果集中，作为顶级
						val.push(item);
					}
				});
				return val;
			},
			industryinit() {
				let queryParams = {
					pageSize: 9999,
				}
				industryapi(queryParams).then(res => {
					console.log('industryapi', res)
					this.industrylist = res.data.content
				});
			},
			industryinit2() {
				let queryParams = {
					industryCode: this.Code1,
					pageSize: 9999,
				}
				industryapi2(queryParams).then(res => {
					console.log('industryapi', res)
					this.industrylist2 = res.data.content
				});
			},
			industryinit3() {
				let queryParams = {
					industryCode: this.Code2,
					pageSize: 9999,
				}
				industryapi3(queryParams).then(res => {
					console.log('industryapi', res)
					this.industrylist3 = res.data.content
				});
			},
			industry1(code, name) {
				this.Code1 = code
				this.industry_one = name
				// this.industry = name
				this.industryinit2()
			},
			industry2(code, name) {
				this.Code2 = code
				this.industry_two = name
				// this.industry = this.industry_one+'/'+this.industry_two
				this.industryinit3()
			},
			industry3(code, name) {
				this.Code3 = code
				this.industry_three = name
				// this.industry = this.industry_one+'/'+this.industry_two+'/'+this.industry_three
				// this.visible = false
				// this.init()
				// this.totalinit()
			},
			xyreset() {
				this.Code1 = ''
				this.industry_one = ''
				this.Code2 = ''
				this.industry_two = ''
				this.industrylist2 = ''
				this.industrylist3 = ''
				this.industry = ''
				this.Code3 = ''
				this.industry_three = ''
				this.visible = false
				this.pageNumber = 1
				this.total = 0
				this.init()
				this.totalinit()
			},
			xyprimary() {
				if (this.industry_three != '') {
					this.industry = this.industry_one + '/' + this.industry_two + '/' + this.industry_three
				} else if (this.industry_two != '' && this.industry_three == '') {
					this.industry = this.industry_one + '/' + this.industry_two
				} else if (this.industry_two == '') {
					this.industry = this.industry_one
				}
				this.hidtype = 1
				this.visible = false
				this.init()
				this.totalinit()
			},
			cbrschange(value) {
				var nameArr = [];
				value.forEach(element => {
					let obj = this.cbrsdata.find((item) => {
						return item.type === element;
					});
					if (obj) {
						nameArr.push(obj.name);
				
					}
				});
				this.cbrsname = nameArr.join("，");
				sessionStorage.setItem('cbrsname', JSON.stringify(this.cbrsname))
				this.cbrslist = value.join(",")
				this.init()
				this.totalinit()
			},
			clnxchange(value) {
				var nameArr = [];
				value.forEach(element => {
					let obj = this.clnxdata.find((item) => {
						return item.type === element;
					});
					if (obj) {
						nameArr.push(obj.name);
				
					}
				});
				this.clnxname = nameArr.join("，");
				sessionStorage.setItem('clnxname', JSON.stringify(this.clnxname))
				this.clnxlist = value.join(",")
				this.init()
				this.totalinit()
			},
			zczbchange(value) {
				var nameArr = [];
				value.forEach(element => {
					let obj = this.zczbdata.find((item) => {
						return item.type === element;
					});
					if (obj) {
						nameArr.push(obj.name);
				
					}
				});
				this.zczbname = nameArr.join("，");
				sessionStorage.setItem('zczbname', JSON.stringify(this.zczbname))
				this.zczblist = value.join(",")
				this.init()
				this.totalinit()
			},
			sjzbchange(value) {
				var nameArr = [];
				value.forEach(element => {
					let obj = this.zczbdata.find((item) => {
						return item.type === element;
					});
					if (obj) {
						nameArr.push(obj.name);
				
					}
				});
				this.sjzbname = nameArr.join("，");
				sessionStorage.setItem('sjzbname', JSON.stringify(this.sjzbname))
				this.sjzblist = value.join(",")
				this.init()
				this.totalinit()
			},
			init() {
				let queryParams = {
					district: "黄埔区",
					ent_name: this.entname,
					industry_one: this.industry_one,
					industry_two: this.industry_two,
					industry_three: this.industry_three,
					pageNumber: 1,
					tagId: this.arr,
					cbrs: this.cbrslist,
					clnx: this.clnxlist,
					zczb: this.zczblist,
					sjzb: this.sjzblist
				}

				if (this.entname != '' && this.ssfwlist.length > 0) {
					this.ssfwlist.forEach(item => {
						if (item != 'ent_name') {
							this.$set(queryParams, item, this.entname);
						}
					})
					if (this.ssfwlist.indexOf('ent_name') == -1) {
						this.$set(queryParams, 'ent_name', '');
					}
				}
				this.listParams = queryParams
				this.$set(this.listParams, 'Code1', this.Code1);
				this.$set(this.listParams, 'Code2', this.Code2);
				this.$set(this.listParams, 'Code3', this.Code3);
				sdqygjssv1api(queryParams).then(res => {
					console.log('sdqygjssv1api', res)
				});
			},
			totalinit() {
				this.loading = true
				let queryParams = {
					district: "黄埔区",
					ent_name: this.entname,
					industry_one: this.industry_one,
					industry_two: this.industry_two,
					industry_three: this.industry_three,
					pageNumber: 1,
					searchType: "zs",
					tagId: this.arr,
					cbrs: this.cbrslist,
					clnx: this.clnxlist,
					zczb: this.zczblist,
					sjzb: this.sjzblist,

				}
				if (this.entname != '' && this.ssfwlist.length > 0) {
					this.ssfwlist.forEach(item => {
						if (item != 'ent_name') {
							this.$set(queryParams, item, this.entname);
						}
					})
					if (this.ssfwlist.indexOf('ent_name') == -1) {
						this.$set(queryParams, 'ent_name', '');
					}

				}
				sdqygjssv1api(queryParams).then(res => {
					this.loading = false
					if (res.data != null) {
						this.total = res.data.content[0].TOTAL
					} else {
						this.total = 0
					}

				});
			},
			seeresult() {
				sessionStorage.setItem('listParams', JSON.stringify(this.listParams))
				
				if (this.entname != '' && this.ssfwlist.length > 0) {
					sessionStorage.setItem('ssfwlist', JSON.stringify(this.ssfwlist))
					
				} else {
					sessionStorage.removeItem('ssfwlist')
				}
				this.$router.push({
					path: '/',
					query: {
						searchType: 'zs'
					}
				})
			},
			sb(name, id) {
				this.sbid = id
				this.sbname = name
				if (id != '') {
					this.sbarr = id
				} else {
					this.sbarr = ''
				}
			},
			sbreset() {
				this.sbid = ''
				this.sbname = ''
				this.sbpopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			sbprimary() {
				this.sbpopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.sbid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.sbarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.sbarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			zl(name, id) {
				this.zlid = id
				this.zlname = name
				if (id != '') {
					this.zlarr = id
				} else {
					this.zlarr = ''
				}
			},
			zlreset() {
				this.zlid = ''
				this.zlname = ''
				this.zlpopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			zlprimary() {
				this.zlpopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.zlid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.zlarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.zlarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			rz(name, id) {
				this.rzid = id
				this.rzname = name
				if (id != '') {
					this.rzarr = id
				} else {
					this.rzarr = ''
				}
			},
			rzreset() {
				this.rzid = ''
				this.rzname = ''
				this.rzpopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			rzprimary() {
				this.rzpopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.rzid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.rzarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.rzarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			wz(name, id) {
				this.wzid = id
				this.wzname = name
				if (id != '') {
					this.wzarr = id
				} else {
					this.wzarr = ''
				}
			},
			wzreset() {
				this.wzid = ''
				this.wzname = ''
				this.wzpopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			wzprimary() {
				this.wzpopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.wzid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.wzarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.wzarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			zp(name, id) {
				this.zpid = id
				this.zpname = name
				if (id != '') {
					this.zparr = id
				} else {
					this.zparr = ''
				}
			},
			zpreset() {
				this.zpid = ''
				this.zpname = ''
				this.zppopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			zpprimary() {
				this.zppopover = false
				this.searchString = 'company_base_tag_search_jyxx_zscq_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.zpid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.zparr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.zparr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			ztb(name, id) {
				this.ztbid = id
				this.ztbname = name
				if (id != '') {
					this.ztbarr = id
				} else {
					this.ztbarr = ''
				}
			},
			ztbreset() {
				this.ztbid = ''
				this.ztbname = ''
				this.ztbpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			ztbprimary() {
				this.ztbpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.ztbid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.ztbarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.ztbarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			zhp(name, id) {
				this.zhpid = id
				this.zhpname = name
				if (id != '') {
					this.zhparr = id
				} else {
					this.zhparr = ''
				}
			},
			zhpreset() {
				this.zhpid = ''
				this.zhpname = ''
				this.zhppopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			zhpprimary() {
				this.zhppopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))

				if (this.zhpid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.zhparr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.zhparr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			fz(name, id) {
				this.fzid = id
				this.fzname = name
				if (id != '') {
					this.fzarr = id
				} else {
					this.fzarr = ''
				}
			},
			fzreset() {
				this.fzid = ''
				this.fzname = ''
				this.fzpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			fzprimary() {
				this.fzpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.fzid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.fzarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.fzarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			gd(name, id) {
				this.gdid = id
				this.gdname = name
				if (id != '') {
					this.gdarr = id
				} else {
					this.gdarr = ''
				}
			},
			gdreset() {
				this.gdid = ''
				this.gdname = ''
				this.gdpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			gdprimary() {
				this.gdpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.gdid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.gdarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.gdarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			bg(name, id) {
				this.bgid = id
				this.bgname = name
				if (id != '') {
					this.bgarr = id
				} else {
					this.bgarr = ''
				}
			},
			bgreset() {
				this.bgid = ''
				this.bgname = ''
				this.bgpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			bgprimary() {
				this.bgpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.bgid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.bgarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.bgarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			sx(name, id) {
				this.sxid = id
				this.sxname = name
				if (name == '有失信被执行人') {
					this.sxhave = true
					this.hasxarr = id
				} else {
					this.sxhave = false
					this.hasxid = ''
				}
				if (id != '') {
					this.sxarr = id
				} else {
					this.sxarr = ''
				}
			},
			hasx(name, id) {
				this.hasxid = id
				this.sxname = name
				if (id != '') {
					this.sxarr = id
				} else {
					this.sxarr = this.hasxarr
				}
			},
			sxreset() {
				this.sxid = ''
				this.hasxid = ''
				this.sxname = ''
				this.sxhave = false
				this.sxpopover = false
				this.searchString = 'company_base_tag_search_fxxx_sxbzxr_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			sxprimary() {
				this.sxpopover = false
				this.searchString = 'company_base_tag_search_fxxx_sxbzxr_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.sxid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.sxarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.sxarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			cp(name, id) {
				this.cpid = id
				this.cpname = name
				if (id != '') {
					this.cparr = id
				} else {
					this.cparr = ''
				}
			},
			cpreset() {
				this.cpid = ''
				this.cpname = ''
				this.cppopover = false
				this.searchString = 'company_base_tag_search_fxxx_cpws_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			cpprimary() {
				this.cppopover = false
				this.searchString = 'company_base_tag_search_fxxx_cpws_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.cpid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.cparr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.cparr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			kt(name, id) {
				this.ktid = id
				this.ktname = name
				if (id != '') {
					this.ktarr = id
				} else {
					this.ktarr = ''
				}
			},
			ktreset() {
				this.ktid = ''
				this.ktname = ''
				this.ktpopover = false
				this.searchString = 'company_base_tag_search_fxxx_ktgg_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			ktprimary() {
				this.ktpopover = false
				this.searchString = 'company_base_tag_search_fxxx_ktgg_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.ktid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.ktarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.ktarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			fy(name, id) {
				this.fyid = id
				this.fyname = name
				if (id != '') {
					this.fyarr = id
				} else {
					this.fyarr = ''
				}
			},
			fyreset() {
				this.fyid = ''
				this.fyname = ''
				this.fypopover = false
				this.searchString = 'company_base_tag_search_fxxx_fygg_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			fyprimary() {
				this.fypopover = false
				this.searchString = 'company_base_tag_search_fxxx_fygg_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.fyid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.fyarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.fyarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			xz(name, id) {
				this.xzid = id
				this.xzname = name
				if (name == '有行政处罚') {
					this.xzhave = true
					this.haxzarr = id
				} else {
					this.xzhave = false
					this.haxzid = ''
				}
				if (id != '') {
					this.xzarr = id
				} else {
					this.xzarr = ''
				}
			},
			haxz(name, id) {
				this.haxzid = id
				this.xzname = name
				if (id != '') {
					this.xzarr = id
				} else {
					this.xzarr = this.haxzarr
				}
			},
			xzreset() {
				this.xzid = ''
				this.haxzid = ''
				this.xzname = ''
				this.xzhave = false
				this.xzpopover = false
				this.searchString = 'company_base_tag_search_fxxx_xzcf_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			xzprimary() {
				this.xzpopover = false
				this.searchString = 'company_base_tag_search_fxxx_fygg_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.xzid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.xzarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.xzarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			jy(name, id) {
				this.jyid = id
				this.jyname = name
				if (name == '有经营异常') {
					this.jyhave = true
					this.hajyarr = id
				} else {
					this.jyhave = false
					this.hajyid = ''
				}
				if (id != '') {
					this.jyarr = id
				} else {
					this.jyarr = ''
				}
			},
			hajy(name, id) {
				this.hajyid = id
				this.jyname = name
				if (id != '') {
					this.jyarr = id
				} else {
					this.jyarr = this.hajyarr
				}
			},
			jyreset() {
				this.jyid = ''
				this.hajyid = ''
				this.jyname = ''
				this.jypopover = false
				this.jyhave = false
				this.searchString = 'company_base_tag_search_fxxx_jyyc_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			jyprimary() {
				this.jypopover = false
				this.searchString = 'company_base_tag_search_fxxx_jyyc_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.jyid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.jyarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.jyarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			bj(name, id) {
				this.bjid = id
				this.bjname = name
				if (name == '有被执行人') {
					this.bjhave = true
					this.habjarr = id
				} else {
					this.bjhave = false
					this.habjid = ''
				}
				if (id != '') {
					this.bjarr = id
				} else {
					this.bjarr = ''
				}
			},
			habj(name, id) {
				this.habjid = id
				this.bjname = name
				if (id != '') {
					this.bjarr = id
				} else {
					this.bjarr = this.habjarr
				}
			},
			bjreset() {
				this.bjid = ''
				this.bjname = ''
				this.habjid = ''
				this.bjhave = false
				this.bjpopover = false
				this.searchString = 'company_base_tag_search_fxxx_bzxr_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			bjprimary() {
				this.bjpopover = false
				this.searchString = 'company_base_tag_search_fxxx_bzxr_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.bjid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.bjarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.bjarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			ddz(name, id) {
				this.ddzid = id
				this.ddzname = name
				if (id != '') {
					this.ddzarr = id
				} else {
					this.ddzarr = ''
				}
			},
			ddzreset() {
				this.ddzid = ''
				this.ddzname = ''
				this.ddzpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			ddzprimary() {
				this.ddzpopover = false
				this.searchString = 'company_base_tag_search_fxxx_bzxr_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.ddzid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.ddzarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.ddzarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			dzd(name, id) {
				this.dzdid = id
				this.dzdname = name
				if (id != '') {
					this.dzdarr = id
				} else {
					this.dzdarr = ''
				}
			},
			dzdreset() {
				this.dzdid = ''
				this.dzdname = ''
				this.dzdpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			dzdprimary() {
				this.dzdpopover = false
				this.searchString = 'company_base_tag_search_fxxx_bzxr_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.dzdid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.dzdarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.dzdarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			dzbg(name, id) {
				console.log('id', id)
				this.dzbgid = id
				this.dzbgname = name
				if (id != '') {
					this.dzbgarr = id
				} else {
					this.dzbgarr = ''
				}
			},
			dzbgreset() {
				this.dzbgid = ''
				this.dzbgname = ''
				this.dzbgpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			dzbgprimary() {
				this.dzbgpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.dzbgid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.dzbgarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.dzbgarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			xw(name, id) {
				this.xwid = id
				this.xwname = name
				if (id != '') {
					this.xwarr = id
				} else {
					this.xwarr = ''
				}
			},
			xwreset() {
				this.xwid = ''
				this.xwname = ''
				this.xwpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			xwprimary() {
				this.xwpopover = false
				this.searchString = 'company_base_tag_search_jyxx_gdsx_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.xwid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.xwarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.xwarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			dc(name, id) {
				this.dcid = id
				this.dcname = name
				if (id != '') {
					this.dcarr = id
				} else {
					this.dcarr = ''
				}
			},
			dcreset() {
				this.dcid = ''
				this.dcname = ''
				this.dcpopover = false
				this.searchString = 'company_base_tag_search_fxxx_dcdy_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			dcprimary() {
				this.dcpopover = false
				this.searchString = 'company_base_tag_search_fxxx_dcdy_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.dcid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.dcarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.dcarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			xg(name, id) {
				this.xgid = id
				this.xgname = name
				if (name == '有限制高消费') {
					this.xghave = true
					this.haxgarr = id
				} else {
					this.xghave = false
					this.haxgid = ''
				}
				if (id != '') {
					this.xgarr = id
				} else {
					this.xgarr = ''
				}
			},
			haxg(name, id) {
				this.haxgid = id
				this.xgname = name
				if (id != '') {
					this.xgarr = id
				} else {
					this.xgarr = this.haxgarr
				}
			},
			xgreset() {
				this.xgid = ''
				this.xgname = ''
				this.haxgid = ''
				this.xghave = false
				this.xgpopover = false
				this.searchString = 'company_base_tag_search_fxxx_xzgxf_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			xgprimary() {
				this.xgpopover = false
				this.searchString = 'company_base_tag_search_fxxx_xzgxf_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.xgid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.xgarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.xgarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			lxdh(name, id) {
				this.lxdhid = id
				this.lxdhname = name
				if (id != '') {
					this.lxdharr = id
				} else {
					this.lxdharr = ''
				}
			},
			lxdhreset() {
				this.lxdhid = ''
				this.lxdhname = ''
				this.lxdhpopover = false
				this.searchString = 'company_base_tag_search_lxfs_lxdh_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			lxdhprimary() {
				this.lxdhpopover = false
				this.searchString = 'company_base_tag_search_lxfs_lxdh_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.lxdhid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.lxdharr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.lxdharr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			sj(name, id) {
				this.sjid = id
				this.sjname = name
				if (id != '') {
					this.sjarr = id
				} else {
					this.sjarr = ''
				}
			},
			sjreset() {
				this.sjid = ''
				this.sjname = ''
				this.sjpopover = false
				this.searchString = 'company_base_tag_search_lxfs_sjhm_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			sjprimary() {
				this.sjpopover = false
				this.searchString = 'company_base_tag_search_lxfs_sjhm_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.sjid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.sjarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.sjarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			gddh(name, id) {
				this.gddhid = id
				this.gddhname = name
				if (id != '') {
					this.gddharr = id
				} else {
					this.gddharr = ''
				}
			},
			gddhreset() {
				this.gddhid = ''
				this.gddhname = ''
				this.gddhpopover = false
				this.searchString = 'company_base_tag_search_lxfs_sjhm_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			gddhprimary() {
				this.gddhpopover = false
				this.searchString = 'company_base_tag_search_lxfs_sjhm_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.gddhid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.gddharr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.gddharr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			gwdh(name, id) {
				this.gwdhid = id
				this.gwdhname = name
				if (id != '') {
					this.gwdharr = id
				} else {
					this.gwdharr = ''
				}
			},
			gwdhreset() {
				this.gwdhid = ''
				this.gwdhname = ''
				this.gwdhpopover = false
				this.searchString = 'company_base_tag_search_lxfs_gwdh_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			gwdhprimary() {
				this.gwdhpopover = false
				this.searchString = 'company_base_tag_search_lxfs_gwdh_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.gwdhid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.gwdharr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.gwdharr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			gzl(name, id) {
				this.gzlid = id
				this.gzlname = name
				if (id != '') {
					this.gzlarr = id
				} else {
					this.gzlarr = ''
				}
			},
			gzlreset() {
				this.gzlid = ''
				this.gzlname = ''
				this.gzlpopover = false
				this.searchString = 'company_base_tag_search_lxfs_gzldh_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			gzlprimary() {
				this.gzlpopover = false
				this.searchString = 'company_base_tag_search_lxfs_gzldh_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.gzlid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.gzlarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.gzlarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
			lxyx(name, id) {
				this.lxyxid = id
				this.lxyxname = name
				if (id != '') {
					this.lxyxarr = id
				} else {
					this.lxyxarr = ''
				}
			},
			lxyxreset() {
				this.lxyxid = ''
				this.lxyxname = ''
				this.lxyxpopover = false
				this.searchString = 'company_base_tag_search_lxfs_gzldh_'
				this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				this.init()
				this.totalinit()
			},
			lxyxprimary() {
				this.lxyxpopover = false
				this.searchString = 'company_base_tag_search_lxfs_gzldh_'
				this.arr.some(item => item.includes(this.searchString))
				this.ftarr = this.arr.some(item => item.includes(this.searchString))
				if (this.lxyxid != '') {
					if (!this.ftarr) {
						// 如果不存在，则添加到数组
						this.arr.push(this.lxyxarr)
					} else {
						this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
						this.arr.push(this.lxyxarr)
					}
				} else {
					this.arr = this.arr.filter(item => item.indexOf(this.searchString) === -1);
				}
				this.init()
				this.totalinit()
			},
		}
	};
</script>

<style scoped lang="scss">
	.home {
		.subheader {
			height: 100px;
			background: linear-gradient(180deg, #3460D7 0%, #3D62CC 100%);

			.navbar {
				border-bottom: 1px solid rgba(255, 255, 255, 0.2);
				height: 100px;
				padding: 0 30px;

				.logo {
					display: flex;
					justify-content: center;
					align-items: center;
					height: 100px;
					font-size: 26px;
					color: #fff;
					font-weight: bold;
					margin-right: 8%;

					img {
						margin-right: 11px;
					}
				}

				.nav {
					display: flex;
					height: 100px;
					justify-content: center;
					align-items: center;
					font-size: 20px;
					color: #fff;
					font-weight: bold;

					.box {
						position: relative;
						height: 100px;
						line-height: 100px;

						span {
							position: absolute;
							left: 0;
							bottom: 0;
							height: 5px;
							background: #fff;
							display: block;
							width: 60px;
						}
					}

					.box::after {
						content: "|";
						margin: 0 36px;
						color: rgba(255, 255, 255, 0.2);
						font-weight: initial;
						font-size: 18px;
					}

					.box:last-child::after {
						display: none;
					}

				}

				.user {
					display: flex;
					height: 95px;
					justify-content: center;
					align-items: center;

					.box {
						font-size: 16px;
						line-height: 28px;
						color: #FFFFFF;
						font-weight: 400;
						background: url(../../assets/images/usericon.png) no-repeat left center;
						padding-left: 22px;
					}

					.bt {
						width: 62px;
						height: 28px;
						line-height: 28px;
						text-align: center;
						background: #FFFFFF;
						border-radius: 5px 5px 5px 5px;
						font-size: 12px;
						color: #000000;
						font-weight: 400;
						margin-left: 10px;
						cursor: pointer;
					}
				}
			}

			.slogan {
				color: #fff;
				font-size: 42px;
				color: #FFFFFF;
				text-align: center;
				font-weight: bold;
				letter-spacing: 3px;
				line-height: 55px;
				padding: 84px 0 54px;
			}

			.search {
				display: flex;
				justify-content: center;
				align-items: center;

				.box {
					display: flex;

					.search-bt {
						width: 120px;
						height: 53px;
						background: #217FE4;
						border-radius: 0px 4px 4px 0px;
						font-size: 22px;
						color: #FFFFFF;
						font-weight: 400;
						text-align: center;
						line-height: 53px;
						letter-spacing: 2px;
					}
				}

				.advanced-search {
					width: 32px;
					height: 40px;
					line-height: 20px;
					font-size: 16px;
					font-weight: 400;
					color: #FFFFFF;
					margin-left: 12px;
					cursor: pointer;
				}
			}
		}

		.enterprise-info {
			margin: 48px auto;
			overflow: hidden;

			.top-info {
				.icon-logo {
					margin-right: 16px;
					width: 76px;

					img {
						width: 100%;
					}
				}

				.info-name {
					position: relative;
				}

				.name {
					font-size: 28px;
					color: #000000;
					font-weight: bold;
					line-height: 37px;
					margin-bottom: 10px;

					span {
						width: 64px;
						height: 29px;
						background: #E3FCE9;
						border-radius: 4px 4px 4px 4px;
						display: inline-block;
						font-weight: 400;
						font-size: 16px;
						color: #24C84C;
						line-height: 29px;
						text-align: center;
						vertical-align: middle;
						margin-left: 13px;
					}
				}

				.tag-list {
					.el-tag {
						margin-right: 14px;
					}
				}

				.optional {
					position: absolute;
					right: 0;
					top: 50%;
					transform: translateY(-50%);
					display: flex;
					justify-content: center;
					align-items: center;
					width: 92px;
					height: 37px;
					background: #0071DF;
					border-radius: 2px 2px 2px 2px;
					font-weight: 400;
					font-size: 16px;
					color: #FFFFFF;
					cursor: pointer;

					img {
						margin-right: 2px;
					}
				}
			}

			.bottom-info {
				margin-top: 23px;
				background: #F2F9FF;
				border-radius: 4px 4px 4px 4px;
				border: 1px solid #E8EAEC;
				padding-top: 12px;

				.info-list {
					display: flex;

					.box {
						width: 45%;

						p {
							padding: 0 0 0 20px;
							margin: 0;
							height: 37px;
							line-height: 37px;
							font-weight: 400;
							font-size: 16px;
							color: #000000;

							em {
								color: #FF824B;
								margin-left: 4px;
								cursor: pointer;
							}
						}

						.mail {
							em {
								color: #0071DF;
							}
						}
					}

					.box:first-child {
						border-right: 1px solid #E8EAEC;
					}

					.box:last-child {
						padding-left: 58px
					}
				}

				.introduction {
					border-top: 1px solid #E8EAEC;
					padding: 8px 20px 8px 20px;
					margin-top: 8px;
					font-weight: 400;
					font-size: 16px;
					line-height: 37px;
					color: #000000;
				}
			}

			.monitor {
				margin: 47px auto 23px;

				.title {
					display: flex;
					justify-content: center;
					align-items: center;
					font-weight: bold;
					font-size: 20px;
					color: #FA9417;
					margin-right: 24px;
				}

				.text-list {
					display: flex;
					justify-content: left;
					align-items: center;
					height: 65px;
					font-size: 16px;
					color: #222;

					.box::after {
						content: "|";
						margin: 0 10px;
						color: #D1D1D1;
					}

					span {
						color: #FA9417;
					}
				}
			}
		}

		.query-container {
			.el-checkbox__inner {
				width: 18px;
				height: 18px;
			}

			.title-h2 {
				font-weight: bold;
				font-size: 16px;
				color: #000000;
				line-height: 50px;
				margin-top: 24px;
				border-bottom: 1px solid #E0E0E0;
				padding-left: 24px;
			}

			.query-title {
				background: url(../../assets/images/iconquery.png) no-repeat left center;
				font-weight: bold;
				font-size: 16px;
				color: #000000;
				padding-left: 22px;
				line-height: 20px;
				margin-bottom: 16px;
			}

			.query-box {
				margin-bottom: 24px;
			}

			.query-list {
				.list {
					overflow: hidden;
					margin-bottom: 8px;
					// display: flex;
					// align-items: center;
				}

				.name {
					line-height: 36px;
					font-weight: 400;
					font-size: 14px;
					color: #656C74;
					margin-right: 26px;
					min-width: 70px;
				}

				.textbox {
					min-width: 142px;
					display: inline-block;
					margin-right: 30px;
					font-size: 14px;
					color: #222;
					line-height: 36px;

					i {
						color: #222;
					}
				}
			}
		}

		.resultcontainer {
			background: #FFFFFF;
			box-shadow: 0px -2px 12px 0px rgba(7, 28, 69, 0.25);
			border-radius: 0px 0px 0px 0px;
			border-top: 1px solid #E0E0E0;
			padding: 21px 0;
			overflow: hidden;
			line-height: 36px;
			font-size: 14px;
			color: #222222;
			position: fixed;
			bottom: 0;
			left: 0;
			right: 0;
			z-index: 99;

			.number {
				color: #FF596A
			}
		}
	}
</style>
<style>
	.query-container .el-checkbox__inner {
		width: 18px;
		height: 18px;
	}

	.query-container .el-checkbox {
		min-width: 142px;
		margin-top: 8px;
	}

	.query-container .el-checkbox__label {
		padding-left: 6px;
		font-size: 14px;
		color: #222;
	}

	.query-container .el-checkbox__inner::after {
		left: 6px;
		top: 3px;
	}

	.el-table .cell {
		font-size: 16px;
		color: #000000;
		line-height: 25px;
		padding: 5px 20px;
		font-weight: 400;
	}

	.dialogtable .el-table .cell .el-table--border .el-table__cell:first-child .cell {
		padding-left: 20px;
	}

	.el-table .el-table__header-wrapper th,
	.el-table .el-table__fixed-header-wrapper th {
		background: #F7FBFF;
	}

	.dialogtable .el-table .cell {
		font-size: 14px;
		padding: 2px 15px;
	}

	.el-dialog__header {
		border-bottom: 2px dashed #eee;
	}
</style>
<style>
	.industry {
		display: flex;
	}

	.industry .ibox {
		height: 200px;
		overflow-y: auto;
		width: 310px;
		border-right: 1px solid #eee;
	}

	.industry .ibox:first-child {
		padding-left: 0;
	}

	.industry .ibox:last-child {
		border-right: none;
	}

	.industry .ibox div.active {
		/* color: #1890ff; */
	}

	.commonlist {
		padding: 10px 0 0;
	}

	.industry .ibox div P,
	.commonlist p {
		margin: 0;
		height: 36px;
		line-height: 36px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		padding: 0 6px 0 34px;
		background: url(../../assets/images/checkbox-input.png) no-repeat 12px center;
	}

	.commonlist p {
		height: 26px;
		line-height: 26px;
		cursor: pointer;
	}

	.industry .ibox div P::after {
		content: '';
		background: url(../../assets/images/right.png) no-repeat right center;
		float: right;
		display: block;
		height: 36px;
		width: 12px;
	}

	.el-popover {
		padding: 0;
	}

	.industry .ibox div.active p,
	.commonlist .active {
		background: #E5F2FF url(../../assets/images/hcheckbox-input.png) no-repeat 12px center;
		color: #227FE4;
	}

	.bottomibox {
		border-top: 1px solid #eee;
		padding: 10px;
		text-align: right;
	}

	.bottomibox .el-row {
		display: inline-block;
	}

	.commonlist .bottomibox {
		margin-top: 10px
	}
</style>